package com.red.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.red.entity.Address;

import java.util.List;

public interface AddressService extends IService<Address> {

    List<Address> selectAll();

    void insert(Address address);

    void updateIsDefault(Address address);

    void deleteById(Long id);
}
